<?php if(isset($_SESSION['admin'])){?>
<div class="admin_main_title">
	<h2>Change Password</h2><h3><a href="#">&#9660;<!--&#9650;--></a></h3>
	<div class="clearfix"></div>
</div>
<div class="admin_table_pad">
	<div class="form-horizontal" style="margin-top:20px;margin-bottom:20px;">		
		<div class="control-group">
			<label class="control-label" for="inputPassword">Old Password</label>
			<div class="controls">
				<input type="password" name="oldpwd" id="oldpwd" class="contact-box"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="inputPassword">New Password</label>
			<div class="controls">
				<input type="password" name="newpwd" id="newpwd" class="contact-box"/>
			</div>
		</div>
		<div class="control-group">
		<label class="control-label" for="inputPassword">Confirm Password</label>
		<div class="controls">
		<input type="password" name="confirm-pwd" id="confirm-pwd" class="contact-box"/>
		</div>
		</div>
		<div class="controls">
			<input type="button" onclick="changePassword('admin')" value="Save" id="set-password" class="clf_btn"/><span id="confirmerrormsg" style="margin-left:70px;color:green"><span>
			<input type="hidden" id="hid_user_id" name="hid_user_id" value="<?php if(isset($_SESSION['admin']['user_id'])){echo $_SESSION['admin']['user_id'];}else{}?>">
		</div>
	</div>
	</div>
<? } else {?>
<script>
	window.location=ADMIN_BASE_URL+'admin';
</script>
<?}?>	
